/**
 * @author luguoxiang
 * @date 2022/7/5
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { createApi, request } from '@/soar';

const basePath = '/system/user';
const subject = '用户';
const api = createApi(basePath, subject);

export default {
  ...api,
  updateStatus: (data) => request.post(`${basePath}/update-status`, { data }),
  updatePassword: (data) => request.post(`${basePath}/update-password`, { data }),
};
